import req1 from '@/lib/req1'
//获取考核设置列表
export function kpiListAPI(){
    return req1.get('/kpi/kpiList')
}
//新增绩效考核
export function kpiInsertAPI({date,monthNo,weekNo}){
  return req1.post('/kpi/kpiInsert',{date,monthNo,weekNo})
}
//修改考核
export function kpiUpdateAPI({id,date,monthNo,weekNo}){
 return req1.put('/kpi/kpiUpdate',{id,date,monthNo,weekNo})
}
//删除考核
export function kpiDeleteAPI(id){
    return req1.delete('/kpi/kpiDelete',{id})
}
